<?php /* Smarty version 2.6.18, created on 2017-06-04 17:27:31
         compiled from longr.html */ ?>

   <?php if (( $this->_tpl_vars['fenlei'] == 151 )): ?>  
 <thead><tr><th colspan="6" class='table_side'>近期开奖结果</th></tr></thead>
      <tbody>
      <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['kj']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <tr class="trhm"><td class='period'><?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['qs']; ?>
期</td>
    <td class='name'><?php if ($this->_tpl_vars['kj'][$this->_sections['i']['index']]['m1'] != ''): ?><span class='b<?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m1']; ?>
'><?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m1']; ?>
</span><?php endif; ?></td>
    <td class='name'><?php if ($this->_tpl_vars['kj'][$this->_sections['i']['index']]['m1'] != ''): ?><span class='b<?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m2']; ?>
'><?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m2']; ?>
</span><?php endif; ?></td>
    <td class='name'><?php if ($this->_tpl_vars['kj'][$this->_sections['i']['index']]['m1'] != ''): ?><span class='b<?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m3']; ?>
'><?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m3']; ?>
</span><?php endif; ?></td>
    <td class="other"><?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['m1']+$this->_tpl_vars['kj'][$this->_sections['i']['index']]['m2']+$this->_tpl_vars['kj'][$this->_sections['i']['index']]['m3']; ?>
</td>
    <td class="other<?php if ($this->_tpl_vars['kj'][$this->_sections['i']['index']]['dx'] == '大'): ?> D<?php endif; ?>"><?php echo $this->_tpl_vars['kj'][$this->_sections['i']['index']]['dx']; ?>
</td>
     </tr>
     <?php endfor; endif; ?>
       </tbody>
   <?php else: ?>

     <thead><tr><th colspan="2" class='table_side'>两面长龙排行</th></tr></thead>
     <tbody>    
     <tr style='display:none;'>
     <th colspan="2" class="longrth">
       <input type="radio" name='longfs' class="ra" value="2" />
       无出&nbsp;&nbsp;
       <input type="radio" name='longfs' class="ra"   checked value="1"/>
       连出
      
    </th></tr>
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['buz']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <?php if (( $this->_tpl_vars['buz'][$this->_sections['i']['index']]['bname'] != '2字和数' & $this->_tpl_vars['buz'][$this->_sections['i']['index']]['bname'] != '3字和数' )): ?>
    <tr class="buz">
     <th class="l"><a href='javascript:void(0)' ><?php echo $this->_tpl_vars['buz'][$this->_sections['i']['index']]['name']; ?>
&nbsp;:&nbsp;<?php echo $this->_tpl_vars['buz'][$this->_sections['i']['index']]['pname']; ?>
</a></th>
     <td class="r"><label><?php echo $this->_tpl_vars['buz'][$this->_sections['i']['index']]['qishu']; ?>
</label>&nbsp;期</td>
    </tr>
    <?php endif; ?>
    <?php endfor; endif; ?>
    <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['z']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
    <?php if (( $this->_tpl_vars['z'][$this->_sections['i']['index']]['bname'] != '2字和数' & $this->_tpl_vars['z'][$this->_sections['i']['index']]['bname'] != '3字和数' )): ?>
    <tr class="zz">
     <th class="l"><a href='javascript:void(0)' ><?php echo $this->_tpl_vars['z'][$this->_sections['i']['index']]['name']; ?>
&nbsp;:&nbsp;<?php echo $this->_tpl_vars['z'][$this->_sections['i']['index']]['pname']; ?>
</a></th>
     <td class="r"><label><?php echo $this->_tpl_vars['z'][$this->_sections['i']['index']]['qishu']; ?>
</label>
      &nbsp;期</td>
    </tr>
    <?php endif; ?>
    <?php endfor; endif; ?>
     </tbody>
    <?php endif; ?>
    
